<!DOCTYPE html>
<html lang="en">

<head>
    <!-- Title -->
    <title>Admin Login | | Ectivise Cloud - Provide professional cloud service</title>

    <!-- Required Meta Tags Always Come First -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="x-ua-compatible" content="ie=edge">

    <!-- Favicon -->
    <link rel="shortcut icon" href="http://www.ectivisecloud.com/favicon.ico">
    <!-- Google Fonts -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700">
    <!-- CSS Global Compulsory -->
    <link rel="stylesheet" href="http://www.ectivisecloud.com/unify/html/assets/vendor/bootstrap/bootstrap.min.css">
    <link rel="stylesheet"
          href="http://www.ectivisecloud.com/unify/html/assets/vendor/icon-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="http://www.ectivisecloud.com/unify/html/assets/vendor/icon-line-pro/style.css">
    <link rel="stylesheet" href="http://www.ectivisecloud.com/unify/html/assets/vendor/animate.css">

    <!-- CSS Unify -->
    <link rel="stylesheet" href="http://www.ectivisecloud.com/unify/html/assets/css/unify-core.css">
    <link rel="stylesheet" href="http://www.ectivisecloud.com/unify/html/assets/css/unify-components.css">
    <link rel="stylesheet" href="http://www.ectivisecloud.com/unify/html/assets/css/unify-globals.css">

    <!-- CSS Customization -->
    <link rel="stylesheet" href="http://www.ectivisecloud.com/unify/html/assets/css/custom.css">

    <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
    <!--<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>-->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</head>

<body>
<script>
    $(document).ready(function () {
        console.log('ready!', '');
        $("button").click(function () {
            console.log("login please");
            var settings = {
                "async": true,
                "crossDomain": true,
                "url": "/adminsignup",
                "method": "POST",
                "headers": {
                    "Content-Type": "application/x-www-form-urlencoded",
                    "cache-control": "yes",
                },
                "data": {
                    "i_email": $("#i_email").val(),
                    "i_pwd": $("#i_pwd").val(),
                    "token": "",
                }
            }
            // debugger
            $.ajax(settings).done(function (response) {
                console.log(response);
                if (response.errorCode != 0) {
                    alert('Error:' + response.message)
                }
                window.location.replace("admin-signup.html")
                //window.location.href('http://www.ectivisecloud.com');
                // else{
                //     console.log(response)
                // }
            });
        })
    })
</script>
<main>
    <!-- Login -->
    <section class="g-min-height-100vh g-flex-centered g-bg-lightblue-radialgradient-circle">
        <div class="container g-py-100">
            <div class="row justify-content-center">
                <div class="col-sm-8 col-lg-5">
                    <div class="u-shadow-v24 g-bg-white rounded g-py-40 g-px-30">
                        <header class="text-center mb-4">
                            <h2 class="h2 g-color-black g-font-weight-600">Admin Login</h2>
                        </header>

                        <!-- Form -->
                        <form class="g-py-15">
                            <div class="mb-4">
                                <label class="g-color-gray-dark-v2 g-font-weight-600 g-font-size-13">Email:</label>
                                <input class="form-control g-color-black g-bg-white g-bg-white--focus g-brd-gray-light-v4 g-brd-primary--hover rounded g-py-15 g-px-15"
                                       type="email" placeholder="admin@ectivisecloud.com" id="i_email">
                            </div>

                            <div class="g-mb-35">
                                <div class="row justify-content-between">
                                    <div class="col align-self-center">
                                        <label class="g-color-gray-dark-v2 g-font-weight-600 g-font-size-13">Password:</label>
                                    </div>
                                    <div class="col align-self-center text-right">
                                        <a class="d-inline-block g-font-size-12 mb-2" href="">Forgot password?</a>
                                    </div>
                                </div>
                                <input id="i_pwd" class="form-control g-color-black g-bg-white g-bg-white--focus g-brd-gray-light-v4 g-brd-primary--hover rounded g-py-15 g-px-15 mb-3"
                                       type="password" placeholder="Password">
                                <div class="row justify-content-between">
                                    <div class="col-8 align-self-center">
                                        <label class="form-check-inline u-check g-color-gray-dark-v5 g-font-size-12 g-pl-25 mb-0">
                                            <input class="g-hidden-xs-up g-pos-abs g-top-0 g-left-0" type="checkbox">
                                            <div class="u-check-icon-checkbox-v6 g-absolute-centered--y g-left-0">
                                                <i class="fa" data-check-icon="&#xf00c"></i>
                                            </div>
                                            Keep signed in
                                        </label>
                                    </div>
                                    <div class="col-4 align-self-center text-right">
                                        <button class="btn btn-md u-btn-primary rounded g-py-13 g-px-25" type="button">
                                        Login
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- End Form -->
                        <script src="">
                        </script>
                        <script>
                            $("button").click(function () {
                                $("p").slideToggle();
                            });
                        </script>
                        <footer class="text-center">
                            <p class="g-color-gray-dark-v5 g-font-size-13 mb-0">Don't have an account? <a
                                    class="g-font-weight-600"
                                    href="admin-signup.html">signup</a>
                            </p>
                        </footer>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- End Login -->
</main>

<div class="u-outer-spaces-helper"></div>


<!-- JS Global Compulsory -->
<!--<script src="http://www.ectivisecloud.com/unify/html/assets/vendor/jquery/jquery.min.js"></script>-->
<!--<script src="http://www.ectivisecloud.com/unify/html/assets/vendor/jquery-migrate/jquery-migrate.min.js"></script>-->
<!--<script src="http://www.ectivisecloud.com/unify/html/assets/vendor/popper.min.js"></script>-->
<!--<script src="http://www.ectivisecloud.com/unify/html/assets/vendor/bootstrap/bootstrap.min.js"></script>-->


<!-- JS Unify -->
<!--<script src="http://www.ectivisecloud.com/unify/html/assets/js/hs.core.js"></script>-->

<!-- JS Customization -->
<!--<script src="http://www.ectivisecloud.com/unify/html/assets/js/custom.js"></script>-->


</body>

</html>